export const utils = {
  setStorage(key, val) {
    try {
      uni.setStorageSync(key, val)
    } catch (e) {
      console.log('setLocalStorage Error', e)
    }
  },
  getStorage(key) {
    try {
      return uni.getStorageSync(key)
    } catch (e) {
      console.log('getLocalStorage Error', e)
    }
  }
}
